{template 'common/header'}
<ul class="nav nav-tabs">
	<li><a href="{php echo create_url('site/module', array('do' => 'Brand','op'=>'post','name' => 'we7car','weid'=>$_W['weid']))}">添加汽车品牌</a></li>	
	<li  class="active"><a href="{php echo create_url('site/module', array('do' => 'Brand', 'name' => 'we7car','weid'=>$_W['weid']))}">汽车品牌管理</a></li>	
</ul>
	
	<div class="main">
		<div class="category">
 			<table class="table table-hover">
				<thead>
					<tr>
						<th style="width:10px;"></th>
						<th style="width:60px;">显示顺序</th>
						<th>品牌名称</th>
						<th style="width:80px;">设为显示</th>
						<th style="width:80px;">操作</th>
					</tr>
				</thead>
				<tbody>
				{loop $list $v} 
                  <tr>
						<td></td>
						<td><input type="text" class="span1" name="listorder" value="{$v['listorder']}"></td>
	                    <td><div class="type-parent">{$v['title']}&nbsp;&nbsp;</div></td>
						<td>{if $v['status']==1} 显示 {else} 隐藏 {/if}</td>
						<td><a href="{php echo $this->createWebUrl('Brand', array('op' => 'post','id'=>$v['id']))}">编辑</a>&nbsp;&nbsp;
						<a href="{php echo $this->createWebUrl('Brand',array('op' => 'del','id'=>$v['id']))}" onclick="return confirm('确认删除此此品牌？');return false;">删除</a></td>
					</tr>
				{/loop} 
														<tr>
						<td></td>
						<td colspan="7">
							<a href="{php echo $this->createWebUrl('Brand', array('op' => 'post','id'=>0))}"><i class="icon-plus-sign-alt"></i> 添加汽车品牌</a>
						</td>
					</tr>
 
				</tbody>
			</table>
 		</div>
    </div>
{template 'common/footer'}
